Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed errors logs from OVA to 4.4 #2019

Merged

Conversation

c-bordon
Copy link
Member

@c-bordon c-bordon commented Jan 4, 2023

Related issue
close #1971

Description

After various tests, I was able to detect that the fact that wazuh-manager service was active before the VM was exported generated this error in the logs.
I managed to avoid this error in the logs by adding this service to the provision.sh

Logs example

[wazuh-user@wazuh-server ~]$ journalctl -r -u wazuh-indexer.service | grep -i -E "error|critical|warning|fatal" 
ene 04 16:00:35 wazuh-server systemd-entrypoint[965]: WARNING: System::setSecurityManager will be removed in a future release
ene 04 16:00:35 wazuh-server systemd-entrypoint[965]: WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.Security
ene 04 16:00:35 wazuh-server systemd-entrypoint[965]: WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.Security (file:/usr/share/wazuh-indexer/lib/opensearch-2.4.1.jar)
ene 04 16:00:35 wazuh-server systemd-entrypoint[965]: WARNING: A terminally deprecated method in java.lang.System has been called
ene 04 16:00:34 wazuh-server systemd-entrypoint[965]: WARNING: System::setSecurityManager will be removed in a future release
ene 04 16:00:34 wazuh-server systemd-entrypoint[965]: WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.OpenSearch
ene 04 16:00:34 wazuh-server systemd-entrypoint[965]: WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.OpenSearch (file:/usr/share/wazuh-indexer/lib/opensearch-2.4.1.jar)
ene 04 16:00:34 wazuh-server systemd-entrypoint[965]: WARNING: A terminally deprecated method in java.lang.System has been called
[wazuh-user@wazuh-server ~]$ 

Tests

https://ci.wazuh.info/view/Packages/job/Packages_Builder_OVA/186/console

OVA: https://packages-dev.wazuh.com/trash/vm/wazuh-4.4.0.ova

@c-bordon c-bordon self-assigned this Jan 4, 2023
@c-bordon c-bordon linked an issue Jan 4, 2023 that may be closed by this pull request
5 tasks
Copy link
Member

@rauldpm rauldpm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@davidcr01 davidcr01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@rauldpm rauldpm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@verdx verdx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alberpilot alberpilot merged commit 1dfff43 into 4.4 Jan 10, 2023
@alberpilot alberpilot deleted the 1971-error-defining-attributes-in-wazuh-indexer-log-files-to4.4 branch January 10, 2023 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error defining attributes in Wazuh indexer log files
5 participants